package top.resty.erp.util;

import java.util.ArrayList;
import java.util.List;

/**
 * <pre>
 *      layui Table表格需要的数据需要当前类来进行封装传递后才能正常解析.
 * </pre>
 *
 * @author : resty
 * @date : 2021年03月17 00:01
 */
public class LayuiJson <T>{
	private int code = 0 ;
	private String msg = "";
	private int count;
	private List<T> data = new ArrayList<T>();
	
	public int getCode() {
		return code;
	}
	
	public void setCode(int code) {
		this.code = code;
	}
	
	public String getMsg() {
		return msg;
	}
	
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	public int getCount() {
		return count;
	}
	
	public void setCount(int count) {
		this.count = count;
	}
	
	public List<T> getData() {
		return data;
	}
	
	public void setData(List<T> data) {
		this.data = data;
	}
}
